package com.wyclabs.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Web前台服务
 * @author YichuanWang
 * @date 2019/8/10 13:06
 */
@SpringBootApplication(scanBasePackages = {"com.wyclabs"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.wyclabs.api")
@EnableAsync
@EnableSwagger2
public class WebApp {

    public static void main(String[] args) {
        SpringApplication.run(WebApp.class, args);
    }

}
